package org.qpcr.community.project.enums;

import lombok.Getter;

public enum FileType {
    IMAGE_JPG("image", "图片","jpg"),
    IMAGE_PNG("image", "图片","png"),
    EXCEL_XLSX("excel", "电子表格","xlsx"),
    EXCEL_XLS("excel", "电子表格","xls"),
    PDF("pdf", "PDF","pdf"),
    WORD_DOCX("word", "word","docx"),
    WORD_DOC("word", "word","doc"),
    PPT_PPTX("ppt", "ppt","pptx"),
    PPT_PPT("ppt", "ppt","ppt"),
    TEXT_TXT("text", "文本文档","txt"),
    ZIP("zip", "压缩文件","zip"),;
    @Getter
    private final String type;
    @Getter
    private final String description;
    @Getter
    private final String suffix;
    FileType(String type, String description, String suffix) {
        this.type = type;
        this.description = description;
        this.suffix = suffix;
    }
}
